home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / U-Z / VideoToolBox Folder / Advice next >
Encoding:
Text File  |  1993-03-31  |  13.6 KB  |  192 lines  |  [TEXT/ttxt]

  1. VideoToolbox: Advice
  2. March 31, 1993
  3.  
  4. Advice to beginners,
  5.  
  6. If you want to do vision experiments on your Mac II, and haven’t programmed a Macintosh before, there are various things you should get for yourself. I’ve listed what I consider essential. The stuff I use. There are lots of baby books that hold your hand while you learn, but the ones that I’ve looked at weren’t helpful for setting up vision experiments. They’re oriented towards producing Mac-like applications with the right look and feel, which is unimportant when the experimenter is the only person that will ever run the program. Be warned that the bible, Inside Macintosh, is intimidating at first. The classic comment about Inside Mac is that you have to have read the rest to understand any part. Fortunately, the new edition, called the New Inside Macintosh--of which only part has been published--is much more readily assimilable. Mac programming is tough going at first, but I’ve come to like it, as the Apple routines are generally intelligent solutions to complicated problems. Anyway, by looking at the sources for the various demos in the VideoToolbox you should be able to get going much more quickly than I did. Good luck.
  7. - Denis Pelli
  8.  
  9. If you like this file, you may also want to read Mike Kelly's help file “csmp-faq-1.txt”, which answers some frequently asked questions for the Mac programming section of UseNet. It’s in the Info-Mac archives in /tech. 
  10.  
  11. ESSENTIAL BOOKS AND SOFTWARE:
  12.  
  13. The C Programming Language, Second Edition
  14. Kernighan and Ritchie
  15. Prentice Hall, 1988
  16. This book describes the new ANSI C. Most new C compilers are 99% compliant.
  17.  
  18. THINK C 5.04
  19. from:
  20. Symantec Corp.
  21. THINK Technologies
  22. 135 South Rd.
  23. Bedford, MA 01730
  24. (617)-275-4800
  25. (800) 441-7234
  26. (408) 252-3570.
  27. This is a C compiler and programming environment (combined editor, linker, librarian, loader). It’s best that I’ve ever used on any computer. The update from 5.0 to version 5.04 is available from CompuServe, and by mail directly from Symantec. (The main alternative to THINK C is Apple’s MPW C, which is slow, and clumsy, at least in comparison to THINK C. The only thing I use MPW for is to compare and merge files and folders, which it does very well.)
  28.  
  29. THINK Reference 2
  30. Also from Symantec. This program acts as an online reference manual to the information in the Inside Mac books, volumes I-VI. Very useful. $129
  31.  
  32. Numerical Recipes C Diskette for Macintosh $32.50 (software)
  33. Numerical Recipes in C: The Art of Scientific Computing $47.50 (book)
  34. Useful book and mathematical library in source form, so you can read the code, understand what’s going on, and modify it if necessary. (They have a combined price for the book with source and examples diskettes.) From:
  35. Cambridge University Press
  36. Orders Department
  37. 110 Midland Avenue
  38. Port Chester, NY 10573
  39. (800)-227-0247
  40.  
  41. Inside Macintosh: Volumes I to VI, and X-reference
  42. New Inside Macintosh: Files, Memory, Processes, Imaging, ...
  43. Designing Cards and Drivers, 3rd edition
  44. from:
  45. Addison-Wesley
  46. (800)-447-2226
  47. You’ll need these books. Apple is in the process of issuing the new edition of Inside Mac. So far they’ve only issued a few volumes. The old edition had numbered volumes: I to VI; the new edition has named volumes, e.g. Files. The new edition is significantly easier to use than the original and includes examples in C, not just Pascal.
  48.  
  49. MAGAZINES AND CATALOGS:
  50.  
  51. MacWEEK
  52. Customer Service Department
  53. P.O. Box 5821
  54. Cherry Hill, NJ 08034
  55. (609)-428-5000
  56. Get a free subscription.
  57.  
  58. TidBITS
  59. A free weekly email newsletter about Macintosh software and hardware published by Adam and Tonya Engst. To subscribe send email to info@tidbits.com
  60.  
  61. APDA
  62. Apple Programmers and Developers Association
  63. Apple Computer, Inc.
  64. 20525 Mariani Avenue, M/S 33G
  65. Cupertino, CA 95014-6299
  66. 1-800-282-2732
  67. (408)-562-3971 fax
  68. APDA@applelink.apple.com
  69. Get an APDA catalog, since some Apple software and documentation is ONLY available from them.
  70.  
  71. develop: The Apple Technical Journal (with the Developer Essentials CD-ROM), about $30/year.
  72. Apple Computer, Inc.
  73. PO Box 531
  74. Mt. Morris, IL  61054
  75. U.S.A.
  76. 800-545-9364 (U.S.A. only)
  77. 815-734-6309 (anywhere)
  78. 815-734-4205 fax
  79. DEV.SUBS@applelink.apple.com
  80. The develop magazine has four issues per year. It has lots of examples. Each issue includes the latest Developer Essentials CD-ROM disk. Useful.
  81.  
  82. Essential Tools and Objects CD-ROM (also called “ETO”)
  83. APDA
  84. I don’t subscribe to this--it's too expensive--but you may want to. It’s updated several times a year and has the latest versions of Apple’s development tools, MPW, C, etc. 
  85.  
  86. ONLINE SERVICES:
  87.  
  88. UseNet
  89. The comp.sys.mac.programming UseNet news group has knowledgeable active discussion. Experts at Apple often jump in with helpful answers to thorny questions. You can participate in UseNet from your your Mac using telnet (NCSA Telnet and MacIP are both free) to log into a local unix system. Or you might use Nuntius (available by ftp from the Info-Mac archive) if you can get tcp/ip access to a net news server. Alternatively, you can ask Mike Kelly, mkelly@cs.uoregon.edu, to add your name to the email mailing list to receive his digest of the discussions.
  90.  
  91. CompuServe Information Service
  92. P.O. Box 20212
  93. Columbus, OH 43220
  94. (800)-848-8199
  95. If you can't join UseNet, then you may want to join CompuServe, to follow the discussions and post your seemingly insoluble Macintosh problems on the bulletin boards, MacPro, MacDev, or Symantec:THINK C, to get free advice from experts. Buy the program Navigator from CompuServe, as it makes CompuServe much easier to use. You’ll need a modem. 
  96.  
  97. AppleLink
  98. (408) 974-3309
  99. ALINK.MGMT@applelink.apple.com
  100. AppleLink is Apple’s bulletin board and email system. It provides some system software updates and technical information. Most companies that make Macintosh products have AppleLink accounts, and you can use the online directory to get their email addresses. You’ll need a modem. 
  101.  
  102. Anyone can submit a bug report to APPLE.BUGS@Applelink.Apple.com. They prefer, but don't require, a certain format that is produced automatically by a hypercard stack called Apple Bug Reporter, which is available on Apple's Developer CD's or can be downloaded from ftp.apple.com in /dts/mac/bugs.
  103.  
  104. SOFTWARE ARCHIVES ACCESSIBLE THROUGH THE INTERNET:
  105.  
  106. FTP is a file transfer protocol used to transfer files across the Internet. FTP programs typically have very rudimentary user interfaces. Some of the bigger ftp servers are now also Gopher servers. Gopher is sort of a superset, developed at University of Minnesota, originally for a campus-wide information server, that provides a quite good user interface and allows access to a wide variety of Internet resources. Public ftp servers require that you log in as “anonymous” and will accept any password, but it is considered a courtesy to supply your electronic address as the password. If for some reason you can't use ftp or gopher, some of the sites will help you out by allowing you to request transmission of files to you by email.
  107.  
  108. There are two ways to use ftp from your Mac. The traditional, indirect, approach is to remotely log into a mainframe (preferably one running unix), use its ftp facilities to move the file to it, and then download the file from it. The modern, direct, approach requires that your AppleTalk network have a gateway to the Internet, so that you can run an ftp program on your Mac (provided you have Apple's MacTCP init, available from APDA for $100; many universities have site licenses). I recommend TurboGopher for anonymous ftp downloading and Fetch 2.1 for general ftp uploading and downloading. Both are free from the Info-Mac archive.
  109.  
  110. Info-Mac archives  (VideoToolbox is in info-mac/source/c)
  111. ftp: sumex-aim.stanford.edu [36.44.0.6]
  112. gopher: Info-Mac Archives
  113. email: send a query to Info-Mac-Request@sumex-aim.stanford.edu
  114. This is the largest collection of Mac software. You can buy an August '92 snapshot of it in a CD-ROM from Pacific HiTech, Inc., Salt Lake City, Utah, 800-765-8369. Info-Mac CD-ROM $39.95
  115.  
  116. MacPsych archives
  117. ftp: ftp.stolaf.edu [130.71.128.9] (look in the pub/macpsych directory). 
  118. gopher: St. Olaf University/Network Resources/St. Olaf Mailing Lists/MacPsych
  119. email: send a query to macpsych-request@stolaf.edu
  120.  
  121. Apple archives
  122. ftp: ftp.apple.com [130.43.2.3] look in the /dts/mac directory. 
  123. (ftp.apple.com is an alias for bric-a-brac.apple.com.)
  124.  
  125. EMAIL:
  126.  
  127. Your email service ought to have a gateway to Internet; complain if it doesn’t. Here’s how to send Internet mail to various commercial services when you only know the person’s service-specific address:
  128. AppleLink: “DENIS” becomes “DENIS@applelink.apple.com”. 
  129. America Online: “Adam Engst” becomes “adamengst@aol.com”.  
  130. BIX: “user” becomes “user@dcibix.das.net”.
  131. MCI: Joe Doe 123-4567 becomes “Joe_Doe@mcimail.com” or “1234567@mcimail.com”.
  132. CompuServe: “1234,123” (note comma) becomes “1234.123@compuserve.com” (note period).
  133.  
  134. HARDWARE:
  135.  
  136. In my experience a plain old (now obsolete) Mac II is fast enough for most things, but faster Macs can show bigger movies. If you're going to synthesize images then make sure your computer has a floating point chip. So far we've never needed more than 8-bit color, making the obsolete Apple Toby and TFB video cards our favorites, because they work perfectly (unlike Apple's new video cards--see Video synch), and they're available for $90 each from Shreve Systems (800-227-3971). We also like the built-in video on Apple's new crop of computers because you can load images into them at extremely high speeds (try the demo TimeVideo). We use the mouse or keyboard to collect observer responses. We've bought a few Data Translation A/D boards to automate our photometry, moving the cards from machine to machine as needed, but they are probably not the best brand.
  137.  
  138. We've done nearly all our research using Apple's High Resolution Monochrome monitors, which are fine, though one could wish for better high voltage regulation and dc coupling instead of dc restoration. I suspect that a color monitor might be better regulated and might be excellent used as a monochrome monitor. Use with the ISR Video Attenuator would require: 1. use only the green channel, or 2. build a video amplifier to drive all three channels from the single output of the video attenuator, or 3. snip two of the 75 ohm termination resistors inside the monitor and tie all three channels together. 
  139.  
  140. You'll want a fast CD-ROM drive, mainly to read Apple’s Developer Essentials CD-ROM disk. 
  141.  
  142. You’ll need a modem to talk to CompuServe or AppleLink. You'll probably also want to dial in from home and elsewhere using AppleTalk Remote Access. You can now buy v32bis (i.e. 14,400 baud) modems for several hundred dollars. Phone lines are still expensive though, so you may want to cost-share by using a shared modem and a single phone line. 
  143.  
  144. My department uses a single DAT tape drive (with compression, from APS) and the Retrospect Remote program to backup dozens of Macs every night automatically. We’re very happy with it. Retrospect maintains a historical backup so you can go back to older versions of a program, many backups ago. If at all possible get a sufficiently large-capacity tape drive so that you can do unattended incremental backups without having to change the tape. 
  145.  
  146. Moustrak Pad (large 9”x11”, blue or gray). One for each Mac. You really need this. $9
  147.  
  148. Chip Merchant
  149. 9285 Chesapeake Drive
  150. San Diego, CA 92123
  151. (619)-268-4774
  152. (619)-268-0874 fax
  153. At $30 per megabyte it’s worth buying enough memory to take your computer up to at least 8 MB. This outfit has good prices. 
  154.  
  155. RECOMMENDED:
  156. (The free stuff is available from Info-Mac or CompuServe or both. You can use TurboGopher to do an "Archie" search of most ftp sites in the world for a file name. To search Compuserve use their "GO MACFF" command.)
  157.  
  158. After Dark - cute screen saver.
  159. ATM 3.0 - Adobe Type Manager, $7.50 from Adobe at 800-521-1976 x4400. 
  160. Canvas - drawing figures that aren’t graphs. (Ted Adelson convinced me.)
  161. Disinfectant - remove viruses. This is the best. Free.
  162. DocuComp II - compare versions of a manuscript.
  163. DOS Mounter - read DOS floppies with the same convenience as Mac floppies.
  164. EndNote Plus and EndLink - download references from DIALOG and stick 'em in papers
  165. Excel - massage data before plotting it.
  166. Fetch 2.1 - ftp uploading and downloading. Free from Info-Mac archive.
  167. Kaleidagraph - plot data.
  168. Klutz - view the contents of the clut (Color Lookup Table). Free.
  169. MacsBug - low-level debugger from Apple. Free.
  170. MacTCP - required by most ftp programs. $100 from APDA.
  171. Mathematica - modeling.
  172. MathType - create equations for use in any word processor, especially Word.
  173. MatLab - analyze data (crude but fast).
  174. Now Up To Date - first appointment calendar (and to-do list) that I like.
  175. Now Utilities - includes Super Boomerang and Startup Manager. Helpful.
  176. On Location - lightning-fast searches by content. Helpful.
  177. PopChar - shows all the characters in the current font. Free.
  178. Programmer’s Key - use your keyboard’s power key to invoke the debugger. Free.
  179. QuickDEX II - like a RoloDEX, keeps addresses and phone numbers. Lightning fast.
  180. QuickMail - email. Connects to Internet, AppleLink, and uucp via optional gateways.
  181. Reference Link — INIT allows you to invoke THINK Reference from THINK C. Free.
  182. ResEdit CODE editor - free from ftp.apple.com:/dts/mac/tools/resedit/
  183. Retrospect - best backup program. Get it bundled with your disk or tape drive.
  184. SCSIProbe - mount and unmount SCSI disks. Free.
  185. SuperClock! - time of day. Free.
  186. Synchronize! - merge updates of folders on different computers.
  187. System Errors 7.01- explains all the Systems errors. Free. 
  188. TurboGopher - gopher and anonymous ftp downloading. Free from Info-Mac archive. 
  189. Vantage - word wrapping and quote curling and uncurling.
  190. WindowPicker - INIT helps you go quickly go to any window of any application. Free.
  191. Word - only word processor fully compatible with MathType and DocuComp.
  192.